package com.paas.form.entity;

import com.paas.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("form_task_etl_log")
@ApiModel(value="FormTaskEtlLog对象", description="")
public class FormTaskEtlLogEntity extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "主键id")
	@TableId
	private String id;

	@ApiModelProperty(value = "调度实例id")
	@TableField("job_id")
	private String jobId;

	@ApiModelProperty(value = "任务id")
	@TableField("task_id")
	private String taskId;

	@ApiModelProperty(value = "分发任务名称")
	@TableField("distribution_name")
	private String distributionName;

	@ApiModelProperty(value = "分发类型")
	@TableField("distribution_type")
	private String distributionType;

	@ApiModelProperty(value = "分发失败数")
	@TableField("fail_count")
	private Integer failCount;

	@ApiModelProperty(value = "成功分发数")
	@TableField("success_count")
	private Integer successCount;

	@ApiModelProperty(value = "执行json")
	@TableField("execute_json")
	private String executeJson;

	@ApiModelProperty(value = "执行速率json")
	@TableField("execute_speed_json")
	private String executeSpeedJson;

	@ApiModelProperty(value = "平台id")
	@TableField("app_id")
	private String appId;

	@ApiModelProperty(value = "组织ID")
	@TableField("org_id")
	private String orgId;

	@ApiModelProperty(value = "更新人id")
	@TableField("modify_id")
	private String modifyId;

	@ApiModelProperty(value = "数据状态")
	@TableField("status")
	private String status;

}